﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Interpreter.BuiltIns
{
	internal abstract class NativeFunction
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="stackContext"></param>
		/// <param name="args">If at all possible, it is faster for the interpreter if you pass in null for args, and just go by the index of the arg passed in to the compiled method.</param>
		/// <returns></returns>
		public abstract Value Do(StackContext stackContext, Value[] args);
	}
}
